﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Poem.Core.Entities;
using Volo.Abp.Domain.Repositories;

namespace Poem.Core.Repositories
{
    public interface IPoemRepository : IRepository<Entities.Poem, int>
    {
        Task<List<Entities.Poem>> GetPagedPoems(int maxResult, int skip, string author, string keyword, string[] categories,
            out int total);
    }
}
